home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / System7 tools / Frontier / DWMenu ƒ / readmeDWMenu < prev    next >
Encoding:
Text File  |  1992-02-16  |  1.6 KB  |  24 lines  |  [TEXT/ttxt]

  1. About DWmenu
  2. -------------
  3.  
  4. I had this lying around in my Frontier.root, and I wasn't sure how to distribute it, but it has some very useful stuff in it, especially if you're distributing Frontier scripts, tables, objects, etc.
  5.  
  6. It's a menubar object. To use the commands in the menu, type:
  7.  
  8.     menu.install (@scratchpad.DWmenu)
  9.  
  10. into the Quick Script window.
  11.  
  12. It has three commands in it:
  13.  
  14. 1. Window Formatter: Pretties-up windows, based on the type of the frontmost window. If it's anything but a table window, it resizes the window so it will fit on a 640-by-480 Macintosh screen, and centers it on the desktop (roughly, it allows for the menu bar). If it's a table window, we operate on the cursor object. If it's a table, we recursively visit all sub-windows, and sub-sub-windows, etc.
  15.  
  16. 2. Center Window: Much simpler than Window Formatter. It just operates on the frontmost window, regardless of its type. Resizes and centers it to look good on a 640-by-480 screen.
  17.  
  18. 3. Fix Table Cursors: Put the table cursor on a table you want to clean up. It recursively goes thru all the sub-tables and moves the cursor up to the first line in the table.
  19.  
  20. As you've probably already guessed, these scripts were used in prettying-up Frontier.root for the version 1.0 shipment in January 1992. From now on, I'm going to use these scripts before uploading any suites and scripts, to be sure everything is in order the first time you look at stuff. You can use these scripts too...
  21.  
  22. Note -- if you want to have these commands available to you all the time, add the menu.install line to your customStartup script in your people table.
  23.  
  24. Dave Winer, UserLand Software, 2/16/92